package com.inspection.dao;

import com.inspection.entity.InspectionDeptRegulationDO;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.transaction.annotation.Transactional;

public interface InspectionDeptRegulationDao extends JpaRepository<InspectionDeptRegulationDO,Long>, JpaSpecificationExecutor<InspectionDeptRegulationDO> {


    @Transactional
    void deleteByRegulationId(Long regulationId);


}
